package com.moinut.studentattendancemanager.model.dao;

import com.moinut.studentattendancemanager.model.vo.db.Teacher;

import java.util.List;

/**
 * @author MOILING
 */
public interface ITeacherDAO {

    Teacher findLogin(Teacher teacher) throws Exception;

    Teacher getTeacherById(String teacherId) throws Exception;

    List<Teacher> getAllTeachers() throws Exception;

    boolean updateTeacherInfo(String oldId, Teacher newTeacher) throws Exception;

    boolean updateTeacherPassword(String oldId, String newPassword) throws Exception;

    boolean updateTeacherEmail(String teacherId, String newEmail) throws Exception;
}
